package com.huxiu.net.model;

import com.google.gson.Gson;

/**
 * Created by caoyuanjing on 15/12/10.
 */
public class GroupInfo {
    public int total;
    public int cur_page;
    public int total_page;
    public Forum  forum;
    public Thread[] thread;

    public class Forum{
        public int id;
        public String name;
        public String desc;
        public String pic_path;
        public String user_total;
        public int is_join;
        public String share_url;
        public Master master;
    }


    public class Master {
        public String uid;
        public String username;
        public String avatar;
    }

    public  class Thread{
        public String id;
        public String title;
        public String view_num;
        public long time;
        public String label;
        public Userinfo userinfo;
        public String toString() {
            return new Gson().toJson(this);
        }
    }



    public class Userinfo{
        public String uid;
        public String username;
        public String avatar;
    }

    public String toString() {
        return new Gson().toJson(this);
    }

}
